<?php
var_dump(ini_set('yac.enable_cli','0'),ini_get('yac.enable_cli'));
$cache = new Yac();
$rt[] = $cache->set('m1', bin2hex(random_bytes(10)), 10);
$rt[] = $cache->set('m2', bin2hex(random_bytes(10)), 20);
$rt[] = $cache->set('m3', bin2hex(random_bytes(10)), 30);
$rt[] = $cache->set('m4', bin2hex(random_bytes(10)), 60);
$rt[] = $cache->set('m5', ['a', 1, true], 70);
$rt[] = $cache->set(['m6' => 'hello', 'm7' => 'world'], 70);
var_dump($rt,
	$cache->get(['m1','m5']),
	 file_get_contents('http://localhost/local/yac/yac_get.php'));